package com.itcast.domain;
/*订单详情实体类,让其继承订单类 因为订单详情包括订单*/
public class Orderdetail extends Orders{
    private int id;
    private int orders_id;
    private  int  itmes_id ;
    private int itmes_num;

    @Override
    public String toString() {
        return "Orderdetail{" +
                "id=" + id +
                ", orders_id=" + orders_id +
                ", itmes_id=" + itmes_id +
                ", itmes_num=" + itmes_num +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getOrders_id() {
        return orders_id;
    }

    public void setOrders_id(int orders_id) {
        this.orders_id = orders_id;
    }

    public int getItmes_id() {
        return itmes_id;
    }

    public void setItmes_id(int itmes_id) {
        this.itmes_id = itmes_id;
    }

    public int getItmes_num() {
        return itmes_num;
    }

    public void setItmes_num(int itmes_num) {
        this.itmes_num = itmes_num;
    }
}
